package com.apollow.oschina.viewpagerfragment;


import com.apollow.oschina.adapter.TabVPAdpater;
import com.apollow.oschina.base.TabVPFragment;
import com.apollow.oschina.fragment.BlogFragment;
import com.apollow.oschina.fragment.DefaultFragment;
import com.apollow.oschina.fragment.HotSpotFragment;
import com.apollow.oschina.fragment.RecommendFragment;

/**
 * Created by Administrator on 2017/1/13 0013.
 */
public class NewsVPFragment extends TabVPFragment {
    @Override
    public void setupTab(TabVPAdpater adapter) {
        adapter.addTab("资讯",DefaultFragment.class,getBundle("他的资讯"));
        adapter.addTab("热点",HotSpotFragment.class,getBundle("他的热点"));
        adapter.addTab("博客",BlogFragment.class,getBundle("他的推荐"));
        adapter.addTab("推荐",RecommendFragment.class,getBundle("他的博客"));
    }
}


